package com.rmb.userinfo.excal;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (LogAddressExcal)实体类
 *
 * @author makejava
 * @since 2021-01-20 11:03:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ColumnWidth(20)
public class LogAddressExcal implements Serializable {
    /**
     * 登录记录id
     * @ExcelProperty(value = "编号",index = 4)
     */
    @ExcelIgnore
    private Long id;
    /**
     * ip地区
     */
    @ExcelProperty(value = "IP地区", index = 0)
    private String address;
    /**
     * ip地址
     */
    @ExcelProperty(value = "IP地址", index = 1)
    private String ipAddress;
    /**
     * 时间
     */
    @ExcelProperty(value = "时间", index = 2)
    private Date logDate;
    /**
     * 用户id
     */
    @ExcelProperty(value = "用户ID", index = 3)
    private Long uid;

}